package merlin.beans;

import java.util.*;

/**
 * DTO for handling payment details of a customer.
 *
 * Changes
 * -------
 * 				Created.
 * 09 Oct,2006  Added the CVV property for handling the Card Verification Value.
 *
 */
public class WebsiteOrdersBean implements java.io.Serializable{

	private int websiteOrdersId;
	private String ddSalutation;
	private String ddFirstName;
	private String ddSurname;
	private String ddPosition;
	private String ddCompanyName;
	private String ddAddressLine1;
	private String ddAddressLine2;
	private String ddTown;
	private String ddCounty;
	private String ddPostcode;
	private String telephone;
	private String emailAddress;
	private String creditCardNumber;
	private String cardVerificationValue;
	private String expiryDate;
	private String startDate;
	private String issueNumber;
	private boolean cdDatabaseRequestedIndicator;
	private String ccSalutation;
	private String ccFirstName;
	private String ccSurname;
	private String ccPosition;
	private String ccCompanyName;
	private String ccAddressLine1;
	private String ccAddressLine2;
	private String ccTown;
	private String ccCounty;
	private String ccPostcode;
	private boolean bookRequestedIndicator;
	private String totalAmount;
	private String cardType;
	private boolean differentDetails;
	private String[] arrRawReports;
	private String formatOptions;
	private boolean industryWatchReports;
	private String discountCode = "";
	private boolean pdfReportPurchase = false;
	private int numPdfReports = 0;
	private String pdfReportIds ;
	private boolean eBookRequestedIndicator;
	private Integer customerDetailsId;	// populated only for BIB service calls.

	public WebsiteOrdersBean(){
	}

	public WebsiteOrdersBean(int websiteOrdersId,String ddSalutation,String ddFirstName,String ddSurname,String ddPosition,String ddCompanyName,String ddAddressLine1,String ddAddressLine2,
			String ddTown,String ddCounty,String ddPostcode,String telephone,String emailAddress,String creditCardNumber,String cardVerificationValue,String expiryDate,boolean cdDatabaseRequestedIndicator,String ccSalutation,
			String ccFirstName,String ccSurname,String ccPosition,String ccCompanyName,String ccAddressLine1,String ccAddressLine2,String ccTown,String ccCounty,String ccPostcode,boolean bookRequestedIndicator,
			String totalAmount,String cardType,String formatOptions,boolean differentDetails,String[] arrRawReports,boolean industryWatchReports,boolean eBookRequestIndicator){

		setWebsiteOrdersId(websiteOrdersId);
		setDdSalutation(ddSalutation);
		setDdFirstName(ddFirstName);
		setDdSurname(ddSurname);
		setDdPosition(ddPosition);
		setDdCompanyName(ddCompanyName);
		setDdAddressLine1(ddAddressLine1);
		setDdAddressLine2(ddAddressLine2);
		setDdTown(ddTown);
		setDdCounty(ddCounty);
		setDdPostcode(ddPostcode);
		setTelephone(telephone);
		setEmailAddress(emailAddress);
		setCreditCardNumber(creditCardNumber);
  		setCardVerificationValue(cardVerificationValue);
		setExpiryDate(expiryDate);
		setCdDatabaseRequestedIndicator(cdDatabaseRequestedIndicator);
		setCcSalutation(ccSalutation);
		setCcFirstName(ccFirstName);
		setCcSurname(ccSurname);
		setCcPosition(ccPosition);
		setCcCompanyName(ccCompanyName);
		setCcAddressLine1(ccAddressLine1);
		setCcAddressLine2(ccAddressLine2);
		setCcTown(ccTown);
		setCcCounty(ccCounty);
		setCcPostcode(ccPostcode);
		setBookRequestedIndicator(bookRequestedIndicator);
		setTotalAmount(totalAmount);
		setCardType(cardType);
		setFormatOptions(formatOptions);
		setDifferentDetails(differentDetails);
		setRawReports(arrRawReports);
		setIndustryWatchReports(industryWatchReports);
		setEBookRequestedIndicator(eBookRequestIndicator);
	}

	public WebsiteOrdersBean(String ddCompanyName, String ddAddressLine1,String ddAddressLine2, String ddTown,String ddCounty,
			String ddPostcode,String telephone,String emailAddress, Integer customerDetailsId){
		setDdCompanyName(ddCompanyName);
		setDdAddressLine1(ddAddressLine1);
		setDdAddressLine2(ddAddressLine2);
		setDdTown(ddTown);
		setDdCounty(ddCounty);
		setDdPostcode(ddPostcode);
		setTelephone(telephone);
		setEmailAddress(emailAddress);
		setCustomerDetailsId(customerDetailsId);
	}
	
	public int getWebsiteOrdersId(){
		return this.websiteOrdersId;
	}

	public void setWebsiteOrdersId(int websiteOrdersId){
		this.websiteOrdersId=websiteOrdersId;
	}

	public String getDdSalutation(){
		return this.ddSalutation;
	}

	public void setDdSalutation(String ddSalutation){
		this.ddSalutation=ddSalutation;
	}

	public String getDdFirstName(){
		return this.ddFirstName;
	}

	public void setDdFirstName(String ddFirstName){
		this.ddFirstName=ddFirstName;
	}

	public String getDdSurname(){
		return this.ddSurname;
	}

	public void setDdSurname(String ddSurname){
		this.ddSurname=ddSurname;
	}

	public String getDdPosition(){
		return this.ddPosition;
	}

	public void setDdPosition(String ddPosition){
		this.ddPosition=ddPosition;
	}

	public String getDdCompanyName(){
		return this.ddCompanyName;
	}

	public void setDdCompanyName(String ddCompanyName){
		this.ddCompanyName=ddCompanyName;
	}

	public String getDdAddressLine1(){
		return this.ddAddressLine1;
	}

	public void setDdAddressLine1(String ddAddressLine1){
		this.ddAddressLine1=ddAddressLine1;
	}

	public String getDdAddressLine2(){
		return this.ddAddressLine2;
	}

	public void setDdAddressLine2(String ddAddressLine2){
		this.ddAddressLine2=ddAddressLine2;
	}

	public String getDdTown(){
		return this.ddTown;
	}

	public void setDdTown(String ddTown){
		this.ddTown=ddTown;
	}

	public String getDdCounty(){
		return this.ddCounty;
	}

	public void setDdCounty(String ddCounty){
		this.ddCounty=ddCounty;
	}

	public String getDdPostcode(){
		return this.ddPostcode;
	}

	public void setDdPostcode(String ddPostcode){
		this.ddPostcode=ddPostcode;
	}

	public String getTelephone(){
		return this.telephone;
	}

	public void setTelephone(String telephone){
		this.telephone=telephone;
	}

	public String getEmailAddress(){
		return this.emailAddress;
	}

	public void setEmailAddress(String emailAddress){
		this.emailAddress=emailAddress;
	}

	public String getCreditCardNumber(){
		return this.creditCardNumber;
	}

	public void setCreditCardNumber(String creditCardNumber){
		this.creditCardNumber=creditCardNumber;
	}

	public String getExpiryDate(){
		return this.expiryDate;
	}

	public void setExpiryDate(String expiryDate){
		this.expiryDate=expiryDate;
	}

	public boolean getCdDatabaseRequestedIndicator(){
		return this.cdDatabaseRequestedIndicator;
	}

	public void setCdDatabaseRequestedIndicator(boolean cdDatabaseRequestedIndicator){
		this.cdDatabaseRequestedIndicator=cdDatabaseRequestedIndicator;
	}

	public String getCcSalutation(){
		return this.ccSalutation;
	}

	public void setCcSalutation(String ccSalutation){
		this.ccSalutation=ccSalutation;
	}

	public String getCcFirstName(){
		return this.ccFirstName;
	}

	public void setCcFirstName(String ccFirstName){
		this.ccFirstName=ccFirstName;
	}

	public String getCcSurname(){
		return this.ccSurname;
	}

	public void setCcSurname(String ccSurname){
		this.ccSurname=ccSurname;
	}

	public String getCcPosition(){
		return this.ccPosition;
	}

	public void setCcPosition(String ccPosition){
		this.ccPosition=ccPosition;
	}

	public String getCcCompanyName(){
		return this.ccCompanyName;
	}

	public void setCcCompanyName(String ccCompanyName){
		this.ccCompanyName=ccCompanyName;
	}

	public String getCcAddressLine1(){
		return this.ccAddressLine1;
	}

	public void setCcAddressLine1(String ccAddressLine1){
		this.ccAddressLine1=ccAddressLine1;
	}

	public String getCcAddressLine2(){
		return this.ccAddressLine2;
	}

	public void setCcAddressLine2(String ccAddressLine2){
		this.ccAddressLine2=ccAddressLine2;
	}

	public String getCcTown(){
		return this.ccTown;
	}

	public void setCcTown(String ccTown){
		this.ccTown=ccTown;
	}

	public String getCcCounty(){
		return this.ccCounty;
	}

	public void setCcCounty(String ccCounty){
		this.ccCounty=ccCounty;
	}

	public String getCcPostcode(){
		return this.ccPostcode;
	}

	public void setCcPostcode(String ccPostcode){
		this.ccPostcode=ccPostcode;
	}

	public boolean getBookRequestedIndicator(){
		return this.bookRequestedIndicator;
	}

	public void setBookRequestedIndicator(boolean bookRequestedIndicator){
		this.bookRequestedIndicator=bookRequestedIndicator;
	}


	public String getCardVerificationValue(){
		return cardVerificationValue;
	}

	public void setCardVerificationValue(String value){
		cardVerificationValue = value;
	}

	public boolean isDifferentDetails() {
		return differentDetails;
	}

	public void setDifferentDetails(boolean value) {
		differentDetails = value;
	}

	public String getTotalAmount() {
		return totalAmount;
	}

	public void setTotalAmount(String value) {
		totalAmount = value;
	}

	public String getCardType() {
		return cardType;
	}

	public void setCardType(String value) {
		cardType = value;
	}

	public String[] getRawReports() {
		return arrRawReports;
	}

	public void setRawReports(String[] value) {
		arrRawReports = value;
	}


	public String getFormatOptions() {
		return formatOptions;
	}

	public void setFormatOptions(String value) {
		formatOptions = value;
	}

	public boolean isIndustryWatchReports() {
		return industryWatchReports;
	}

	public void setIndustryWatchReports(boolean value) {
		industryWatchReports = value;
	}

	public String getStartDate(){
		return startDate;
	}

	public void setStartDate(String value){
		startDate = value;
	}

	public String getIssueNumber(){
		return issueNumber;
	}

	public void setIssueNumber(String value){
		issueNumber = value;
	}

	public String getDiscountCode(){
		return discountCode;
	}

	public void setDiscountCode(String value){
		discountCode = value;
	}

	public boolean isPdfReportPurchase() {
		return pdfReportPurchase;
	}

	public void setPdfReportPurchase(boolean value) {
		pdfReportPurchase = value;
	}

	public int getNumPdfReports() {
		return numPdfReports;
	}

	public void setNumPdfReports(int value) {
		numPdfReports = value;
	}

	public String getPdfReportIds() {
		return pdfReportIds;
	}

	public void setPdfReportIds(String value) {
		pdfReportIds = value;
	}

	public boolean isEBookRequestedIndicator() {
		return eBookRequestedIndicator;
	}

	public void setEBookRequestedIndicator(boolean value) {
		eBookRequestedIndicator = value;
	}

	public Integer getCustomerDetailsId() {
		return customerDetailsId;
	}

	public void setCustomerDetailsId(Integer customerDetailsId) {
		this.customerDetailsId = customerDetailsId;
	}
}

